package com.sudo.dao.admin.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @author 为道日损 2020-07-03 14:29
 * webSite：https://www.sudo.ren
 */
@Data
@Table(name = "sys_cpu_log")
public class SysCpuLog {
    private Integer id;

    @Column(name = "cpu_idle")
    private String cpuIdle;

    @Column(name = "cpu_irq")
    private String cpuIrq;

    @Column(name = "cpu_sys")
    private String cpuSys;

    @Column(name = "cpu_user")
    private String cpuUser;

    @Column(name = "cpu_wait")
    private String cpuWait;

    @Column(name = "cpu_nice")
    private String cpuNice;

    @Column(name = "cpu_total")
    private String cpuTotal;

    @Column(name = "cpu_soft_irq")
    private String cpuSoftIrq;

    @Column(name = "cpu_stolen")
    private String cpuStolen;

    @Column(name = "now_time")
    private String nowTime;

    @Column(name = "server")
    private String server;

    public interface Field{
        String id = "id";
        String cpuIdle = "cpuIdle";
        String cpuIrq = "cpuIrq";
        String cpuSys = "cpuSys";
        String cpuUser = "cpuUser";
        String cpuWait = "cpuWait";
        String cpuNice = "cpuNice";
        String cpuTotal = "cpuTotal";
        String cpuSoftIrq = "cpuSoftIrq";
        String cpuStolen = "cpuStolen";
        String nowTime = "nowTime";
        String server = "server";
    }
}
